package grape.attend.rest.user.mapper;

import grape.attend.service.user.po.UserClockDateClasse;
import grape.common.rest.mvc.WebMapper;
import org.mapstruct.Mapper;
import grape.attend.rest.user.form.UserClockDateClasseCreateForm;
import grape.attend.rest.user.form.UserClockDateClasseUpdateForm;
import grape.attend.rest.user.form.UserClockDateClasseListPageForm;
import grape.attend.rest.user.vo.UserClockDateClasseVo;
import org.mapstruct.ReportingPolicy;
/**
 * <p>
 * 用户打卡日期班次表 前端领域模型映射
 * </p>
 *
 * @author yangwei
 * @since 2020-05-25
 */
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface UserClockDateClasseWebMapper extends WebMapper<UserClockDateClasseVo, UserClockDateClasse> {

    UserClockDateClasse formToPo(UserClockDateClasseCreateForm f);
    UserClockDateClasse formToPo(UserClockDateClasseUpdateForm f);
    UserClockDateClasse formToPo(UserClockDateClasseListPageForm f);
}
